<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>茅台镇酱香白酒 - 贵州四季康养文旅</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tdesign-icons-vue-next/dist/index.min.css">
    <style>
        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
            background-color: #f5f5f5;
            color: #333;
            padding-bottom: 80px;
        }
        .header {
            background-color: white;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }
        .back-btn {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }
        .swiper-container {
            position: relative;
            width: 100%;
            height: 300px;
            overflow: hidden;
        }
        .swiper-slide {
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.5s ease;
        }
        .swiper-slide.active {
            opacity: 1;
        }
        .swiper-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .swiper-pagination {
            position: absolute;
            bottom: 10px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            gap: 8px;
        }
        .swiper-pagination-bullet {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
            cursor: pointer;
        }
        .swiper-pagination-bullet.active {
            background-color: white;
            width: 16px;
            border-radius: 4px;
        }
        .price-tag {
            color: #e53e3e;
            font-size: 24px;
            font-weight: bold;
        }
        .original-price {
            color: #a0aec0;
            text-decoration: line-through;
            font-size: 14px;
            margin-left: 8px;
        }
        .tag {
            background-color: rgba(0,82,217,0.1);
            color: #0052d9;
            border-radius: 4px;
            padding: 2px 8px;
            font-size: 12px;
            margin-right: 6px;
            display: inline-block;
        }
        .section-title {
            font-size: 16px;
            font-weight: bold;
            margin: 16px 0 8px;
            color: #333;
            position: relative;
            padding-left: 12px;
        }
        .section-title:before {
            content: '';
            position: absolute;
            left: 0;
            top: 4px;
            bottom: 4px;
            width: 4px;
            background-color: #0052d9;
            border-radius: 2px;
        }
        .spec-item {
            display: inline-block;
            margin: 0 8px 8px 0;
            padding: 6px 12px;
            border: 1px solid #e2e8f0;
            border-radius: 4px;
            font-size: 14px;
            color: #4a5568;
            background-color: white;
        }
        .spec-item.selected {
            color: #0052d9;
            border-color: #0052d9;
            background-color: rgba(0,82,217,0.05);
        }
        .bottom-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: white;
            display: flex;
            padding: 10px 16px;
            box-shadow: 0 -1px 5px rgba(0,0,0,0.05);
        }
        .action-btn {
            flex: 1;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 500;
        }
        .cart-btn {
            background-color: #fff0e5;
            color: #ff7d00;
            margin-right: 10px;
        }
        .buy-btn {
            background-color: #0052d9;
            color: white;
        }
        .origin-map {
            width: 100%;
            height: 180px;
            border-radius: 8px;
            overflow: hidden;
            position: relative;
        }
        .origin-map img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .origin-marker {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -100%);
            color: #e53e3e;
            font-size: 24px;
        }
        .process-step {
            display: flex;
            align-items: center;
            margin-bottom: 16px;
        }
        .step-number {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background-color: #0052d9;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            margin-right: 12px;
            flex-shrink: 0;
        }
        .certificate-badge {
            display: inline-flex;
            align-items: center;
            background-color: #f8f9fa;
            border-radius: 4px;
            padding: 4px 8px;
            margin-right: 8px;
            margin-bottom: 8px;
        }
        .certificate-badge img {
            width: 16px;
            height: 16px;
            margin-right: 4px;
        }
        .quantity-control {
            display: flex;
            align-items: center;
            border: 1px solid #e2e8f0;
            border-radius: 4px;
            overflow: hidden;
            width: fit-content;
        }
        .quantity-btn {
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f8f9fa;
            color: #4a5568;
        }
        .quantity-input {
            width: 40px;
            height: 28px;
            text-align: center;
            border: none;
            border-left: 1px solid #e2e8f0;
            border-right: 1px solid #e2e8f0;
        }
    </style>
</head>
<body>
    <!-- 顶部导航 -->
    <div class="header px-4 py-3 flex items-center">
        <div class="back-btn" onclick="history.back()">
            <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" class="w-5 h-5">
                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7" />
            </svg>
        </div>
        <div class="flex-1 text-center font-medium">商品详情</div>
        <div class="w-8 h-8 flex items-center justify-center">
            <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" class="w-5 h-5">
                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.684 13.342C8.886 12.938 9 12.482 9 12c0-.482-.114-.938-.316-1.342m0 2.684a3 3 0 110-2.684m0 2.684l6.632 3.316m-6.632-6l6.632-3.316m0 0a3 3 0 105.367-2.684 3 3 0 00-5.367 2.684zm0 9.316a3 3 0 105.368 2.684 3 3 0 00-5.368-2.684z" />
            </svg>
        </div>
    </div>
    
    <!-- 商品轮播图 -->
    <div class="swiper-container">
        <div class="swiper-slide active">
            <img src="https://images.unsplash.com/photo-1565958011703-44f9829ba187" class="swiper-image" alt="茅台镇酱香白酒">
        </div>
        <div class="swiper-slide">
            <img src="https://images.unsplash.com/photo-1569529465841-dfecdab7503b" class="swiper-image" alt="酒瓶细节">
        </div>
        <div class="swiper-slide">
            <img src="https://images.unsplash.com/photo-1584225064785-c62a8b43d148" class="swiper-image" alt="酿酒工艺">
        </div>
        <div class="swiper-pagination">
            <div class="swiper-pagination-bullet active"></div>
            <div class="swiper-pagination-bullet"></div>
            <div class="swiper-pagination-bullet"></div>
        </div>
    </div>
    
    <!-- 商品信息 -->
    <div class="bg-white p-4">
        <div class="flex items-center">
            <span class="price-tag">¥298</span>
            <span class="original-price">¥398</span>
        </div>
        <h1 class="text-xl font-bold mt-2">茅台镇酱香型白酒 - 53度纯粮食酒</h1>
        <div class="flex mt-2">
            <span class="tag">茅台镇原产</span>
            <span class="tag">酱香型</span>
            <span class="tag">53度</span>
        </div>
        <div class="flex justify-between items-center mt-3 text-sm text-gray-500">
            <div>销量: 2.3万件</div>
            <div>贵州省 · 仁怀市</div>
        </div>
    </div>
    
    <!-- 优惠信息 -->
    <div class="bg-white mt-2 p-4">
        <div class="flex items-center justify-between">
            <div class="text-sm">
                <span class="text-red-500 border border-red-500 px-1 rounded mr-2">优惠</span>
                <span>满1000减100，满2000减300</span>
            </div>
            <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" class="w-4 h-4 text-gray-400">
                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" />
            </svg>
        </div>
    </div>
    
    <!-- 规格选择 -->
    <div class="bg-white mt-2 p-4">
        <div class="section-title">规格选择</div>
        <div class="mt-2">
            <div class="text-sm text-gray-600 mb-2">容量</div>
            <div>
                <span class="spec-item selected">500ml</span>
                <span class="spec-item">1000ml</span>
            </div>
        </div>
        <div class="mt-3">
            <div class="text-sm text-gray-600 mb-2">年份</div>
            <div>
                <span class="spec-item selected">2022年</span>
                <span class="spec-item">2020年</span>
                <span class="spec-item">2018年（陈酿）</span>
            </div>
        </div>
        <div class="mt-3">
            <div class="text-sm text-gray-600 mb-2">包装</div>
            <div>
                <span class="spec-item selected">精美礼盒</span>
                <span class="spec-item">简装</span>
            </div>
        </div>
        <div class="mt-3">
            <div class="text-sm text-gray-600 mb-2">数量</div>
            <div class="quantity-control">
                <div class="quantity-btn" onclick="decreaseQuantity()">-</div>
                <input type="number" class="quantity-input" value="1" min="1" max="99" id="quantity-input">
                <div class="quantity-btn" onclick="increaseQuantity()">+</div>
            </div>
        </div>
    </div>
    
    <!-- 产品介绍 -->
    <div class="bg-white mt-2 p-4">
        <div class="section-title">产品介绍</div>
        <p class="text-sm text-gray-600 leading-relaxed">
            茅台镇酱香型白酒，采用传统工艺精心酿造，选用优质高粱、小麦、水为原料，经过九次蒸煮、八次发酵、七次取酒的传统酱香酒工艺，历经一年酿造、三年陈酿而成。酒体醇厚，入口绵柔，回味悠长，具有酱香突出、幽雅细腻、酒体醇厚、回味悠长的特点。
        </p>
        <div class="grid grid-cols-3 gap-2 mt-3">
            <img src="https://images.unsplash.com/photo-1569529465841-dfecdab7503b" class="w-full h-20 object-cover rounded" alt="酒瓶细节">
            <img src="https://images.unsplash.com/photo-1584225064785-c62a8b43d148" class="w-full h-20 object-cover rounded" alt="酿酒工艺">
            <img src="https://images.unsplash.com/photo-1578911373434-0cb395d2cbfb" class="w-full h-20 object-cover rounded" alt="品酒">
        </div>
    </div>
    
    <!-- 产地信息 -->
    <div class="bg-white mt-2 p-4">
        <div class="section-title">产地信息</div>
        <p class="text-sm text-gray-600 leading-relaxed mb-3">
            茅台镇位于贵州省遵义市仁怀市，是中国著名的酿酒名镇，也是中国国酒茅台的发源地。这里气候温和，四季分明，年平均气温约16℃，降水充沛，空气湿润，加上特殊的地理环境和微生物群落，为酱香型白酒的酿造提供了得天独厚的自然条件。
        </p>
        <div class="origin-map">
            <img src="https://images.unsplash.com/photo-1526778548025-fa2f459cd5ce" alt="茅台镇地图">
            <div class="origin-marker">📍</div>
        </div>
    </div>
    
    <!-- 酿造工艺 -->
    <div class="bg-white mt-2 p-4">
        <div class="section-title">酿造工艺</div>
        <div class="mt-3">
            <div class="process-step">
                <div class="step-number">1</div>
                <div>
                    <div class="font-medium">选料</div>
                    <p class="text-xs text-gray-500">精选优质高粱和小麦，严格把控原料质量</p>
                </div>
            </div>
            <div class="process-step">
                <div class="step-number">2</div>
                <div>
                    <div class="font-medium">制曲</div>
                    <p class="text-xs text-gray-500">采用传统小麦曲，在特定环境下自然培养微生物</p>
                </div>
            </div>
            <div class="process-step">
                <div class="step-number">3</div>
                <div>
                    <div class="font-medium">九次蒸煮、八次发酵</div>
                    <p class="text-xs text-gray-500">遵循传统酱香酒工艺，进行多次蒸煮和发酵</p>
                </div>
            </div>
            <div class="process-step">
                <div class="step-number">4</div>
                <div>
                    <div class="font-medium">七次取酒</div>
                    <p class="text-xs text-gray-500">分批次蒸馏取酒，确保酒质纯正</p>
                </div>
            </div>
            <div class="process-step">
                <div class="step-number">5</div>
                <div>
                    <div class="font-medium">陈酿</div>
                    <p class="text-xs text-gray-500">在传统陶坛中陈酿至少三年，使酒体更加醇厚</p>
                </div>
            </div>
            <div class="process-step">
                <div class="step-number">6</div>
                <div>
                    <div class="font-medium">勾调包装</div>
                    <p class="text-xs text-gray-500">由资深酿酒师勾调后精心包装</p>
                </div>
            </div>
        </div>
    </div>
    
    <!-- 品质认证 -->
    <div class="bg-white mt-2 p-4">
        <div class="section-title">品质认证</div>
        <div class="flex flex-wrap mt-2">
            <div class="certificate-badge">
                <img src="https://via.placeholder.com/16" alt="认证">
                <span class="text-xs">国家地理标志产品</span>
            </div>
            <div class="certificate-badge">
                <img src="https://via.placeholder.com/16" alt="认证">
                <span class="text-xs">ISO9001质量认证</span>
            </div>
            <div class="certificate-badge">
                <img src="https://via.placeholder.com/16" alt="认证">
                <span class="text-xs">QS食品安全认证</span>
            </div>
            <div class="certificate-badge">
                <img src="https://via.placeholder.com/16" alt="认证">
                <span class="text-xs">有机产品认证</span>
            </div>
        </div>
    </div>
    
    <!-- 商品参数 -->
    <div class="bg-white mt-2 p-4">
        <div class="section-title">商品参数</div>
        <div class="grid grid-cols-2 gap-y-3 mt-2">
            <div class="text-sm">
                <span class="text-gray-500">品牌：</span>
                <span>茅台镇陈酿</span>
            </div>
            <div class="text-sm">
                <span class="text-gray-500">香型：</span>
                <span>酱香型</span>
            </div>
            <div class="text-sm">
                <span class="text-gray-500">度数：</span>
                <span>53度</span>
            </div>
            <div class="text-sm">
                <span class="text-gray-500">净含量：</span>
                <span>500ml</span>
            </div>
            <div class="text-sm">
                <span class="text-gray-500">原料：</span>
                <span>高粱、小麦、水</span>
            </div>
            <div class="text-sm">
                <span class="text-gray-500">产地：</span>
                <span>贵州省仁怀市茅台镇</span>
            </div>
            <div class="text-sm">
                <span class="text-gray-500">生产日期：</span>
                <span>2022-06-18</span>
            </div>
            <div class="text-sm">
                <span class="text-gray-500">保质期：</span>
                <span>长期保存</span>
            </div>
            <div class="text-sm">
                <span class="text-gray-500">储存方法：</span>
                <span>常温、避光、干燥处</span>
            </div>
        </div>
    </div>
    
    <!-- 用户评价 -->
    <div class="bg-white mt-2 p-4">
        <div class="flex justify-between items-center">
            <div class="section-title">用户评价(1286)</div>
            <div class="text-sm text-blue-600">查看全部 ></div>
        </div>
        <div class="mt-3">
            <div class="flex items-center">
                <img src="https://images.unsplash.com/photo-1535713875002-d1d0cf377fde" class="w-8 h-8 rounded-full" alt="用户头像">
                <span class="ml-2">张**</span>
            </div>
            <div class="text-sm text-gray-600 mt-2">
                酒质非常好，酱香浓郁，入口绵柔，回味悠长。包装也很精美，送人倍有面子。快递也很给力，物流包装严实，没有破损。
            </div>
            <div class="flex mt-2">
                <img src="https://images.unsplash.com/photo-1569529465841-dfecdab7503b" class="w-16 h-16 object-cover rounded mr-2" alt="用户晒图">
                <img src="https://images.unsplash.com/photo-1578911373434-0cb395d2cbfb" class="w-16 h-16 object-cover rounded" alt="用户晒图">
            </div>
            <div class="text-xs text-gray-400 mt-2">2023-04-15</div>
        </div>
        <div class="mt-4 pt-4 border-t border-gray-100">
            <div class="flex items-center">
                <img src="https://images.unsplash.com/photo-1599566150163-29194dcaad36" class="w-8 h-8 rounded-full" alt="用户头像">
                <span class="ml-2">李**</span>
            </div>
            <div class="text-sm text-gray-600 mt-2">
                第三次购买了，品质一如既往的好。酱香型白酒的特点很明显，口感醇厚，不刺激，适合慢慢品尝。价格也很实惠，性价比高。
            </div>
            <div class="text-xs text-gray-400 mt-2">2023-03-28</div>
        </div>
    </div>
    
    <!-- 相关推荐 -->
    <div class="bg-white mt-2 p-4">
        <div class="section-title">相关推荐</div>
        <div class="grid grid-cols-2 gap-3 mt-3">
            <div class="bg-gray-50 rounded-lg p-2">
                <img src="https://images.unsplash.com/photo-1563241527-3004b7be0ffd" class="w-full h-28 object-cover rounded-lg" alt="高山云雾茶">
                <div class="mt-2 text-sm font-medium">高山云雾绿茶</div>
                <div class="text-red-500 text-sm mt-1">¥128</div>
            </div>
            <div class="bg-gray-50 rounded-lg p-2">
                <img src="https://images.unsplash.com/photo-1584226761916-25c90976d7a1" class="w-full h-28 object-cover rounded-lg" alt="竹筒酒">
                <div class="mt-2 text-sm font-medium">苗族特色竹筒酒</div>
                <div class="text-red-500 text-sm mt-1">¥158</div>
            </div>
        </div>
    </div>
    
    <!-- 底部操作栏 -->
    <div class="bottom-bar">
        <div class="flex items-center mr-3">
            <div class="flex flex-col items-center mr-5">
                <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" class="w-6 h-6 text-gray-500">
                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
                </svg>
                <span class="text-xs text-gray-500">客服</span>
            </div>
            <div class="flex flex-col items-center">
                <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" class="w-6 h-6 text-gray-500">
                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z" />
                </svg>
                <span class="text-xs text-gray-500">收藏</span>
            </div>
        </div>
        <button class="action-btn cart-btn">加入购物车</button>
        <button class="action-btn buy-btn">立即购买</button>
    </div>
    
    <script>
        // 简单的轮播图逻辑
        const slides = document.querySelectorAll('.swiper-slide');
        const bullets = document.querySelectorAll('.swiper-pagination-bullet');
        let currentIndex = 0;
        
        function showSlide(index) {
            slides.forEach(slide => slide.classList.remove('active'));
            bullets.forEach(bullet => bullet.classList.remove('active'));
            
            slides[index].classList.add('active');
            bullets[index].classList.add('active');
        }
        
        bullets.forEach((bullet, index) => {
            bullet.addEventListener('click', () => {
                currentIndex = index;
                showSlide(currentIndex);
            });
        });
        
        // 自动轮播
        setInterval(() => {
            currentIndex = (currentIndex + 1) % slides.length;
            showSlide(currentIndex);
        }, 3000);
        
        // 数量控制
        function increaseQuantity() {
            const input = document.getElementById('quantity-input');
            let value = parseInt(input.value);
            if (value < 99) {
                input.value = value + 1;
            }
        }
        
        function decreaseQuantity() {
            const input = document.getElementById('quantity-input');
            let value = parseInt(input.value);
            if (value > 1) {
                input.value = value - 1;
            }
        }
    </script>
</body>
</html> 